XR API 2.4
Loading...
Searching...
No Matches
xr_basic_api_wrapper.h
Go to the documentation of this file.
1
20#pragma once
21
23
24XR_DEFINE_HANDLE(SonyOzSessionHandle);
25
26namespace sony::oz::xr_runtime {
37 SonyOzResult SetCameraWindowEnabled(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enable);
38
49 SonyOzResult GetPauseHeadPose(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool* enabled);
50
61 SonyOzResult SetPauseHeadPose(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enabled);
62
73 SonyOzResult GetHighImageQuality(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool* enabled);
74
85 SonyOzResult SetHighImageQuality(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enabled);
86
100 SonyOzResult GetCameraImageSize(SonyOzPlatformId platform_id, SonyOzSessionHandle session, int *width, int *height, int *depth);
101
114 SonyOzResult GetCameraImageBuffer(SonyOzPlatformId platform_id, SonyOzSessionHandle session, size_t *buffer_size, void *buffer);
115}
Definition load_library_utility.h:34
SonyOzResult SetHighImageQuality(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enabled)
Set HighImageQuality mode.
SonyOzResult GetCameraImageBuffer(SonyOzPlatformId platform_id, SonyOzSessionHandle session, size_t *buffer_size, void *buffer)
Get Camera Image.
SonyOzResult SetCameraWindowEnabled(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enable)
Show/Hide camera window.
SonyOzResult SetPauseHeadPose(SonyOzPlatformId platform_id, SonyOzSessionHandle session, const bool enabled)
Enable/Disable head pose tracking..
SonyOzResult GetHighImageQuality(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool *enabled)
Get HighImageQuality mode.
SonyOzResult GetPauseHeadPose(SonyOzPlatformId platform_id, SonyOzSessionHandle session, bool *enabled)
Get head pose status.
SonyOzResult GetCameraImageSize(SonyOzPlatformId platform_id, SonyOzSessionHandle session, int *width, int *height, int *depth)
Get Camera Image size.
#define XR_DEFINE_HANDLE(object)
Definition xr_api_defs.h:48
const char * SonyOzPlatformId
ID indicating XR platform. It will always be "Spatial Reality Display".
Definition xr_api_defs.h:93
SonyOzResult
Result of XR Runtime API.
Definition xr_api_defs.h:62